/**
 * JAVACC DEMO 1.0
 */
package com.apache.passport.entity;

import java.io.Serializable;

/**
 * description:  token对象
 * @author Hou Dayu 创建时间：2016-12-22
 * @Copyright(c)2014:
 */
public class Token implements Serializable {

	/**
	 * serialVersionUID:TODO(用一句话描述这个变量表示什么).  
	 */
	private static final long serialVersionUID = 1L;
	//tokenId
	private String tokenId;
	//用户ID
	private String userId;
	//sessionId
	private String sessionId;
	//用户名
	private String userEname;
	//手机号
	private String mobile;
	//邮箱
	private String email;
	//注册来源
	//private String regSource;
	//登录时间
	private String loginTime;
	//用户中文名
	private String userCname;
	//用户登录信息
	private LoginInfo loginInfo;
	//登录次数
	private String loginCount;
	private String userType;
	private String customerType;
	private Integer userLevel;

	public String getTokenId() {
		return tokenId;
	}

	public void setTokenId(String tokenId) {
		this.tokenId = tokenId;
	}

	public String getSessionId() {
		return sessionId;
	}

	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}

	public String getUserEname() {
		return userEname;
	}

	public void setUserEname(String userEname) {
		this.userEname = userEname;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getLoginTime() {
		return loginTime;
	}

	public void setLoginTime(String loginTime) {
		this.loginTime = loginTime;
	}

	public String getUserCname() {
		return userCname;
	}

	public void setUserCname(String userCname) {
		this.userCname = userCname;
	}

	public LoginInfo getLoginInfo() {
		return loginInfo;
	}

	public void setLoginInfo(LoginInfo loginInfo) {
		this.loginInfo = loginInfo;
	}

	public String getLoginCount() {
		return loginCount;
	}

	public void setLoginCount(String loginCount) {
		this.loginCount = loginCount;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	//	public String getRegSource() {
	//		return regSource;
	//	}
	//
	//	public void setRegSource(String regSource) {
	//		this.regSource = regSource;
	//	}

	public String getUserType() {
		return this.userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}

	public String getCustomerType() {
		return this.customerType;
	}

	public void setCustomerType(String customerType) {
		this.customerType = customerType;
	}

	public Integer getUserLevel() {
		return this.userLevel;
	}

	public void setUserLevel(Integer userLevel) {
		this.userLevel = userLevel;
	}
}
